from django.urls import path
from user import views
from rest_framework.routers import SimpleRouter

router = SimpleRouter()
router.register('user',views.UserViewSet)
router.register('teacher',views.TeacherViewSet)

urlpatterns = [
    path("update/<int:pk>/",views.Update.as_view())
]
urlpatterns += router.urls
